<html>
<head><meta charset="utf-8"><title>Secret IR · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Secret.20IR.html">Secret IR</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="205419022"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Secret%20IR/near/205419022" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Secret.20IR.html#205419022">(Jul 29 2020 at 22:02)</a>:</h4>
<p><span class="user-mention" data-user-id="129457">@Florian Diebold</span> I've heard you are working on a new IR. How much does it depend on the <code>ast</code>? I'd like to cleanup our AST structure, as an early prep for sharing code with rustc (gosh, I can use this excuse to justify all kinds of things!), so I might be mass-renaming ast types soon.</p>



<a name="205419030"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Secret%20IR/near/205419030" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Secret.20IR.html#205419030">(Jul 29 2020 at 22:03)</a>:</h4>
<p>Will it interfere with your work?</p>



<a name="205419840"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Secret%20IR/near/205419840" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Secret.20IR.html#205419840">(Jul 29 2020 at 22:12)</a>:</h4>
<p>I guess, I might as well tag the whole of <span class="user-group-mention" data-user-group-id="1060">@WG-rls2.0</span>  :)</p>
<p>PSA -- I want to change a lot of names in <code>ast</code>, so expect painful rebases :-)</p>
<p>See <a href="#narrow/stream/131828-t-compiler/topic/Canonical.20names.2Fstructure.20for.20syntax.20trees">https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Canonical.20names.2Fstructure.20for.20syntax.20trees</a> for details.</p>



<a name="205420236"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Secret%20IR/near/205420236" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Secret.20IR.html#205420236">(Jul 29 2020 at 22:16)</a>:</h4>
<p>Also, lol, apparently rename on <code>ast::ModuleItem</code> just worked? There are no compile errors!</p>



<a name="205420643"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Secret%20IR/near/205420643" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Secret.20IR.html#205420643">(Jul 29 2020 at 22:21)</a>:</h4>
<p>However this ends up looking I hope there's a module called <code>secretir</code></p>



<a name="205420766"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Secret%20IR/near/205420766" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Secret.20IR.html#205420766">(Jul 29 2020 at 22:22)</a>:</h4>
<p>Well, today <span class="user-mention" data-user-id="211727">@Jonas Schievink</span> found a bonus fourth namespace in rustc...</p>



<a name="205446580"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Secret%20IR/near/205446580" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Florian Diebold <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Secret.20IR.html#205446580">(Jul 30 2020 at 06:50)</a>:</h4>
<p><span class="user-mention" data-user-id="133169">@matklad</span> it doesn't depend on the AST at all, just on <code>TypeRef</code></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>